package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约对象 yy_appointment
 *
 * @author ruoyi
 * @date 2025-03-24
 */
public class YyAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long appointmentId;

    /** 患者id */
    @Excel(name = "患者id")
    private Long patientId;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 预约科室 */
    @Excel(name = "预约科室")
    private String department;

    @Excel(name = "预约科室id")
    private Integer departmentId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    @Excel(name = "预约时间id")
    private Integer timeId;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private String status;

    @Excel(name = "预约时间段")
    private String yyTime;





    private String yueTime;

    private String phoneNumber;
    private String pname;
    private String idcord;
    private String departmentName;
    private String doctorName;
    private String photo;
    private String major;
    public void setAppointmentId(Long appointmentId)
    {
        this.appointmentId = appointmentId;
    }

    public Long getAppointmentId()
    {
        return appointmentId;
    }

    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }

    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }

    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }

    public void setAppointmentTime(Date appointmentTime)
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime()
    {
        return appointmentTime;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getTimeId() {
        return timeId;
    }

    public void setTimeId(Integer timeId) {
        this.timeId = timeId;
    }


    public String getYueTime() {
        return yueTime;
    }

    public void setYueTime(String yueTime) {
        this.yueTime = yueTime;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getIdcord() {
        return idcord;
    }

    public void setIdcord(String idcord) {
        this.idcord = idcord;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getYyTime() {
        return yyTime;
    }

    public void setYyTime(String yyTime) {
        this.yyTime = yyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appointmentId", getAppointmentId())
            .append("patientId", getPatientId())
            .append("doctorId", getDoctorId())
            .append("department", getDepartment())
            .append("appointmentTime", getAppointmentTime())
            .append("status", getStatus())
            .toString();
    }
}
